#include "WPILib.h"
#include "MA3Encoder.h"

#ifndef TURRET_H
#define TURRET_H

class Turret
{
	
	
	// The ballfeed moves balls from the ground 
	// to the shooter, and runs on a spike.
	bool ballfeedOn;
	Victor* ballfeed;
	Victor* conveyor;
	
	Solenoid* flippyBar;
	
	SmartDashboard* dashboard;
	
public:

	Turret(
		int ballfeedChannel,
		int ballConveyorChannel,
<<<<<<< .mine
		int sphincterSolenoidChannel	
=======
		int sphincterSolenoidChannel		
>>>>>>> .r122
	);
	~Turret();
	
	void Update();
	
<<<<<<< .mine
=======
	bool OnTarget();
	
>>>>>>> .r122
	bool GetBallfeed();
	void SetBallfeed(float value);

	float GetBallConveyor();
	void SetBallConveyor(float speed);
	
	void SetFlippyBar(bool state);
	bool GetFlippyBar();
<<<<<<< .mine
=======
	
>>>>>>> .r122
	void Print();
};

#endif

